home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
grapties
/
ok212
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1991-05-03
|
854b
|
47 lines
echo off
cls
ECHO
if %1x == x goto error
if %2x == x goto error
if %1 == %2 goto error
if %2 == a: goto floppy
if %2 == A: goto floppy
if %2 == B: goto floppy
if %2 == b: goto floppy
ECHO
ECHO Installing program on drive %2, one moment...
%2
cd\
md ok
cd \ok
%1docszip
%1program
ECHO
ECHO ...Installation complete.
ECHO OFF
goto done
:floppy
echo Please insert a blank formatted disk in drive %2
echo
pause
cls
%1
docszip %2
echo Please remove the disk from drive %2 and label it "DOCS".
echo
echo Please insert another blank formatted disk in drive %2
echo
pause
program %2
echo
echo Please remove the disk from drive %2 and label it "PROGRAM".
echo
echo ...Installation is completed.
echo
goto done
:error
echo ** ERROR: you MUST specify the SOURCE and TARGET drives! **
:done
pause
cls